package com.tianzmp.ttq.admin.controller.resDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhumengping
 */
@Getter
@Setter
public class MenuTree implements Serializable {


    /**id*/
    private Long id;

    @ApiModelProperty(value = "父集id")
    private Long pid;

    @ApiModelProperty(value = "访问url")
    private String url;

    private String name;

    @ApiModelProperty(value = "是否拥有权限")
    private boolean checked;

    @ApiModelProperty(value = "按钮等级")
    private Integer btoType;

    @ApiModelProperty(value = "子集")
    private List<MenuTree> child;


}
